/* Border */

.boxy-wrapper {
    empty-cells: show;
    position:absolute;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
}

    .boxy-wrapper .boxy-top-left,
    .boxy-wrapper .boxy-top-right,
    .boxy-wrapper .boxy-bottom-right,
    .boxy-wrapper .boxy-bottom-left {
        width: 10px;
        height: 10px;
        padding: 0;
    }

    .boxy-wrapper .boxy-top,
    .boxy-wrapper .boxy-bottom {
        height: 10px;
        background-color: black;
        opacity: 0.6;
        filter: alpha(opacity=60);
        padding: 0;
    }

    .boxy-wrapper .boxy-left,
    .boxy-wrapper .boxy-right {
        width: 10px;
        background-color: black;
        opacity: 0.6;
        filter: alpha(opacity=60);
        padding: 0;
    }

    /* Title bar */

    .boxy-wrapper .title-bar {
        position: relative;
        top:-15px;
        
    }

        .boxy-wrapper .title-bar.dragging {
            cursor: move;
        }

        .boxy-wrapper .title-bar h2 {
            display:none;
        }

.close {
    text-decoration: none;
    position: absolute;
    cursor: pointer;
    right: -20px;
    top: 0;
    width: 45px;
    height: 45px;
    background-color: rgb(230, 149, 0);
    border-radius: 50%;
    font-size: 35px;
    color: white;
    font-weight: bolder;
    text-align: center;
    line-height: 45px;
    z-index: 1;
}


.close-custom {
    text-decoration: none;
    position: absolute;
    cursor: pointer;
    right: -20px;
    top: -20px;
    width: 45px;
    height: 45px;
    background-color: rgb(230, 149, 0);
    border-radius: 50%;
    font-size: 35px;
    color: white;
    font-weight: bolder;
    text-align: center;
    line-height: 45px;
    z-index: 1;
}

.boxy-wrapper .title-bar h2:before {
    display: none;
}

/* Content Region */

.boxy-inner {
    background-color: white;
    padding: 0;
    margin-bottom: auto;
    margin-top: auto;
}

/* Question Boxes */

.boxy-wrapper .question {
    width: 350px;
    min-height: 80px;
}

.boxy-wrapper .answers {
    text-align: right;
}
/*Boxy Modifications*/
.Window {
    position: relative;
    max-width: 760px;
    max-height: 580px;
    min-width: 250px;
    min-height: 50px;
    background-color: white;
    color: rgb(117, 72, 2) !important;
    border-radius: 10px;
    border: 5px solid rgb(117, 72, 2);
    padding: 10px;
    padding-top: 10px;
    overflow:visible;
}
/*left and right column for two columns dialogs*/
.two-column-view {
    white-space: nowrap;
    overflow:hidden;
}

.leftcolumn {
    display: inline-block;
    vertical-align: top;
}

.rightcolumn {
    display: inline-block;
    vertical-align: top;
    /*separator*/
    margin-left: 10px;
}

.Window.Messagebox .label {
    font-size: 16px;
}

.Window .header {
    font-weight: bold;
    padding-bottom: 10px;
}
/*Footer for buttons*/
.Window .footer {
    text-align: right;
    padding-top: 10px;
}

    .textButton, .settingsOnLogin button, .Window .footer > div, .styledButton button {
        right: 0;
        background-color: rgb(255, 106, 0);
        color: white;
        border-radius: 10px;
        font-size: 25px;
        border: 3px solid rgb(117, 72, 2);
        text-align: center;
        padding: 4px 18px;
        display: inline-block;
    }

.styledButton button.disabled {
    background-color: grey;
    pointer-events: none;
}

.error:after,
.info:after
{
    color: rgb(255, 194, 0);
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    content: "\f071";
}
